﻿@model Orion.Models.HomeIndexViewModel
@{
    ViewBag.Title = "IRIS - Leit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

      <link href="../../Content/jquery.autocomplete.css" rel="stylesheet" type="text/css"/>
      <script type="text/javascript" src="../../Scripts/jquery.autocomplete.js"></script>


  <script type="text/javascript">

      $(document).ready(function () {
          $("#searchTerm").autocomplete("/Search/Search");
      });
   </script>

   <section id="main_content">
    <h1>Leit</h1>
    <p>Til að leita í greinum eða fréttum á síðunni þá skrifaru nafnið á greininni hér í gluggan og smellir á "leita".</p>
    <form action="SearchResult" method="post" id="searchForm">
      <input type="text" name="searchString" id="searchString" value="" size="10" maxlength ="30" />
      <input type ="submit" value="Leita" class="button" />
    </form>
    </section>



